/* ljy创建的用来存放访问变量 */
// const BASEURL= 'http://localhost:8071';// 服务器访问的接口路径
// 语料库服务器
// const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://120.79.0.124:8071' : 'http://localhost:8071';
// 学校服务器
// const BASEURL =
// process.env.NODE_ENV === 'production' ? 'https://tveti.lcvc.edu.cn' : 'http://localhost:8071';
// import.meta.env.NODE_ENV === 'production' ? 'https://tveti.lcvc.edu.cn' : 'http://localhost:8071';
const BASEURL = 'http://8.138.115.156:8071'; //服务器地址
// const BASEURL = 'http://localhost:8071'; //本地开发地址
const BASEURLAPI = `${BASEURL}/api`; // 服务器访问的接口路径
// const BASEURLAPI = `/api`; // 在开发环境下使用，这里通过代理配置来访问
export default {
  // 服务器1地址：
  BASEURL,
  BASEURLAPI,
  /* dict地址 */
  API_URL_BACKSTAGE_DICT_MANAGE: `${BASEURLAPI}/backstage/system/dict`,
  API_URL_BACKSTAGE_DICTITEM_MANAGE: `${BASEURLAPI}/backstage/system/dict/item`,
  /*文件上传代码管理模块 */
  API_URL_BACKSTAGE_FILERESOURCE_MANAGE: `${BASEURLAPI}/backstage/system/fileResource`,
  /*文件上传 */
  API_URL_BACKSTAGE_FILERESOURCE_UPLOAD: `${BASEURLAPI}/backstage/system/fileResource/upload`,
  /*文件下载 */
  API_URL_BACKSTAGE_FILERESOURCE_DOWNLOAD: `${BASEURLAPI}/backstage/system/fileResource/download`,
  /* 验证码地址 */
  API_URL_BACKSTAGE_VERIFYCODE: `${BASEURLAPI}/backstage/verifyCode`,
  /* 后台管理员登陆地址，get请求 */
  API_URL_BACKSTAGE_ADMIN_LOGIN: `${BASEURLAPI}/backstage/login`,
  /* 后台管理员注销地址,get请求 */
  API_URL_BACKSTAGE_ADMIN_LOGOUT: `${BASEURLAPI}/backstage/logout`,
  /* 当前管理员所拥有的菜单/权限集合，get请求 */
  API_URL_BACKSTAGE_USER_MENU: `${BASEURLAPI}/backstage/authority/user/session/treeMenu`,
  /* 读取当前登录账户信息，get请求；基本信息修改,put请求； */
  API_URL_BACKSTAGE_LOGINUSER: `${BASEURLAPI}/backstage/authority/user/session`,
  /* 后台管理账户密码修改，patch请求 */
  API_URL_BACKSTAGE_USER_PASSWORD_EDIT: `${BASEURLAPI}/backstage/authority/user/session/password`,
  /* 读取后台管理员，get请求；基本信息修改,put请求 */
  API_URL_BACKSTAGE_ADMIN_PASSWORD: `${BASEURLAPI}/backstage/admin/password`,
  /* 后台管理员列表请求查询，get请求；管理员添加：post请求；管理员修改：put请求；管理员批量删除：delete请求 */
  API_URL_BACKSTAGE_USER_MANAGE: `${BASEURLAPI}/backstage/authority/usermanage`,
  /* 后台管理员列表导入，post请求 */
  API_URL_BACKSTAGE_USER_MANAGE_IMPORT: `${BASEURLAPI}/backstage/authority/usermanage/excel`,
  /* 后台管理员表格模板下载，get请求 */
  API_URL_BACKSTAGE_USER_MANAGE_DOWNLOADTEMPLATE: `${BASEURLAPI}/backstage/authority/usermanage/excel/template`,
  /* 后台管理员数据表格下载，get请求 */
  API_URL_BACKSTAGE_USER_MANAGE_DOWNLOAD: `${BASEURLAPI}/backstage/authority/usermanage/excel`,
  /* 后台管理员的菜单列表,其中{userId}用来供调用者替换为真实的userId */
  API_URL_BACKSTAGE_USER_PERMISSION: `${BASEURLAPI}/backstage/authority/usermanage/{userId}/permission/tree`,
  /* 后台管理员的用户角色关系处理，主要是添加和删除*/
  API_URL_BACKSTAGE_USER_MANAGE_USER_ROLE_RELATIONS: `${BASEURLAPI}/backstage/authority/usermanage/userRoleRelations`,
  /* 后台管理员的用户部门关系，主要是patch局部编辑，也就是给多个账户批量转换部门*/
  API_URL_BACKSTAGE_USER_MANAGE_DEPARTMENT: `${BASEURLAPI}/backstage/authority/usermanage/department`,
  /* 后台管理员的上传头像,其中{userId}用来供调用者替换为真实的userId */
  API_URL_BACKSTAGE_USER_UPLOAD_PHOTO: `${BASEURLAPI}/backstage/authority/usermanage/{userId}/uploadPhoto`,
  /* 当前用户上传上传头像 */
  API_URL_BACKSTAGE_USER_UPLOAD_PERSON_PHOTO: `${BASEURLAPI}/backstage/authority/user/session/uploadPhoto`,
  /* 后台部门列表请求查询，get请求；部门添加：post请求；部门修改：put请求；管理员批量删除：delete请求 */
  API_URL_BACKSTAGE_DEPARTMENT_MANAGE: `${BASEURLAPI}/backstage/authority/department`,
  /* 后台部门树形列表查询 */
  API_URL_BACKSTAGE_DEPARTMENT_TREE: `${BASEURLAPI}/backstage/authority/department/tree`,
  /* 后台角色列表请求查询，get请求；添加：post请求；修改：put请求；批量删除：delete请求;强制删除则在地址后追加目录/force*/
  API_URL_BACKSTAGE_ROLE_MANAGE: `${BASEURLAPI}/backstage/authority/role`,
  /* 后台所有角色列表 */
  API_URL_BACKSTAGE_ROLE_MANAGE_ALL: `${BASEURLAPI}/backstage/authority/role/all`,
  /* 后台角色停用，patch请求 */
  API_URL_BACKSTAGE_ROLE_STOP_ENABLED: `${BASEURLAPI}/backstage/authority/role/edit/enabled`,
  /* 后台角色的菜单管理列表 */
  API_URL_BACKSTAGE_ROLE_PERMISSION_MANAGE: `${BASEURLAPI}/backstage/authority/role/permission`,
  /* 后台权限/菜单列表请求查询，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_PERMISSION_MANAGE: `${BASEURLAPI}/backstage/authority/permission`,
  /* 后台权限树形列表查询 */
  API_URL_BACKSTAGE_PERMISSION_TREE: `${BASEURLAPI}/backstage/authority/permission/tree`,
  /* 后台管理员登录日志列表查询 */
  API_URL_BACKSTAGE_USERLOGINLOG_MANAGE: `${BASEURLAPI}/backstage/log/user/login`,
  /* 后台管理员注册日志列表查询 */
  API_URL_BACKSTAGE_USERREGLOG_MANAGE: `${BASEURLAPI}/backstage/log/user/reg`,
  /* 后台管理员日志类型 */
  API_URL_BACKSTAGE_DAILYTYPE_MANAGE: `${BASEURLAPI}/backstage/system/dailyType`,
  /* 后台管理员日志类型 */
  API_URL_BACKSTAGE_DAILYT_MANAGE: `${BASEURLAPI}/backstage/system/daily`,
  // 系统管理 基础信息配置
  /* 教学任务下的教学班级添加课堂 */
  API_URL_BACKSTAGE_AUTHORITY_CONFIG: `${BASEURLAPI}/backstage/authority/config`,
  /* 学校模块设置 */
  API_URL_BACKSTAGE_AUTHORITY_SCHOOLCONFIG: `${BASEURLAPI}/backstage/school/schoolconfig`,
  // 项目管理接口
  /* 后台的项目模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOL_PROJECT: `${BASEURLAPI}/backstage/school/project`,
  /* 后台的项目类型模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOL_PROJECT_DAILY_TYPE: `${BASEURLAPI}/backstage/school/projectdailytype`,
  /* 后台的项目日志模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOL_PROJECT_DAILY: `${BASEURLAPI}/backstage/school/projectdaily`,
  /* ===============================mes系统管理模块=============================== */
  /* 物料类别模块 */
  API_URL_BACKSTAGE_MES_MATERIALTYPE: `${BASEURLAPI}/backstage/mes/materialType`,
  /* 物料模块 */
  API_URL_BACKSTAGE_MES_MATERIAL: `${BASEURLAPI}/backstage/mes/material`,
  /* 汽车品牌模块 */
  API_URL_BACKSTAGE_MES_CARBRAND: `${BASEURLAPI}/backstage/mes/carBrand`,
  /* 车型模块 */
  API_URL_BACKSTAGE_MES_CARMODEL: `${BASEURLAPI}/backstage/mes/carModel`,
  /* 车型配置模块 */
  API_URL_BACKSTAGE_MES_CARMODELCONFIG: `${BASEURLAPI}/backstage/mes/carModelConfig`,
  /* 汽车工艺模块 */
  API_URL_BACKSTAGE_MES_CARTECHNOLOGY: `${BASEURLAPI}/backstage/mes/carTechnology`,
  /* 生产订单管理模块 */
  API_URL_BACKSTAGE_MES_PRODUCTIONORDER: `${BASEURLAPI}/backstage/mes/productionOrder`,
  /* 生产订单整车审核功能 */
  API_URL_BACKSTAGE_MES_PRODUCTIONORDERSTEP_AUDIT: `${BASEURLAPI}/backstage/mes/productionOrderStep/audit`,
  //模拟生产
  API_URL_BACKSTAGE_MES_PRODUCTIONORDER_SIMULATEPRODUCTION: `${BASEURLAPI}/backstage/mes/productionOrder/simulateProduction`,
  /* 生产订单步骤管理模块 */
  API_URL_BACKSTAGE_MES_PRODUCTIONORDERSTEP: `${BASEURLAPI}/backstage/mes/productionOrderStep`,
  /* 生产订单步骤管理模块审核功能 */
  API_URL_BACKSTAGE_MES_PRODUCTIONORDER_AUDIT: `${BASEURLAPI}/backstage/mes/productionOrderAuditLog`,
  /* 生产订单步骤审核日志模块 */
  API_URL_BACKSTAGE_MES_PRODUCTIONORDERSTEPAUDITLOG: `${BASEURLAPI}/backstage/mes/productionOrderStepAuditLog`,
  /* ===============================wms系统管理模块=============================== */
  /* 仓库管理模块 */
  API_URL_BACKSTAGE_WMS_WMSWAREHOUSE: `${BASEURLAPI}/backstage/wms/warehouse`,
  /* 库区管理模块 */
  API_URL_BACKSTAGE_WMS_WMSWAREHOUSEAREA: `${BASEURLAPI}/backstage/wms/warehouseArea`,
  /* 库位管理模块 */
  API_URL_BACKSTAGE_WMS_WMSWAREHOUSESEAT: `${BASEURLAPI}/backstage/wms/warehouseSeat`,
  /* 物料批次管理模块 */
  API_URL_BACKSTAGE_WMS_WMSMATERIALBATCH: `${BASEURLAPI}/backstage/wms/materialBatch`,
  /* 物料库存管理模块 */
  API_URL_BACKSTAGE_WMS_WMSMATERIALINVENTORY: `${BASEURLAPI}/backstage/wms/materialInventory`,
  /* 物料库存详情管理模块 */
  API_URL_BACKSTAGE_WMS_WMSMATERIALINVENTORYDETAIL: `${BASEURLAPI}/backstage/wms/materialInventoryDetail`,
  /* 物料库存的移库功能 */
  API_URL_BACKSTAGE_WMS_WMSMATERIALINVENTORYDETAILRELOCATION: `${BASEURLAPI}/backstage/wms/materialInventoryDetail/relocation`,
  /* 物料库存移库日志管理模块 */
  API_URL_BACKSTAGE_WMS_WMSMATERIALINVENTORYDETAILRELOCATIONLOG: `${BASEURLAPI}/backstage/wms/materialInventoryDetailRelocationLog`,
  /* 物料库存锁库日志管理模块 */
  API_URL_BACKSTAGE_WMS_WMSMATERIALINVENTORYDETAILLOCKLOG: `${BASEURLAPI}/backstage/wms/materialInventoryDetailLockLog`,
  /* ===============================shop商城模块=============================== */
  /* 汽车产品模块 */
  API_URL_BACKSTAGE_SHOP_CARPRODUCT: `${BASEURLAPI}/backstage/shop/carProduct`,
  /* 客户管理模块 */
  API_URL_BACKSTAGE_SHOP_CUSTOMER: `${BASEURLAPI}/backstage/shop/customer`,
  /* 客户（账户名-定制）搜索功能 */
  API_URL_BACKSTAGE_SHOP_CUSTOMER_USERNAME: `${BASEURLAPI}/backstage/shop/customer/username`,
  /* 汽车订单管理模块 */
  API_URL_BACKSTAGE_SHOP_CARORDER: `${BASEURLAPI}/backstage/shop/carOrder`,
  /* 商品类别模块 */
  API_URL_BACKSTAGE_SHOP_PRODUCTTYPE: `${BASEURLAPI}/backstage/shop/productType`,
  /* 商品模块 */
  API_URL_BACKSTAGE_SHOP_PRODUCT: `${BASEURLAPI}/backstage/shop/product`
  /* ===============================可视化模块=============================== */
};
